
/*
 * Hlpay-Plus aggregate payment system.
 * Copyright (c) 2024-2025 Hlpay Team Copyright has the right of final interpretation.
 *
 */

package com.hlkj.pay.service.token;

import com.hlkj.pay.infrastructure.model.token.TokenAuthLogDO;
import com.hlkj.pay.infrastructure.model.token.TokenSecretDO;

/**
 * @author HlpayTeam
 * @date 2024/09/01 13:23
 */
public interface ITokenService {

    /**
     * queryTenantInfoBySecret
     * 
     * @param appId
     * @return
     */
    TokenSecretDO queryTenantInfoByAppId(String appId);
    /**
     * queryTenantInfoBySecret
     *
     * @return
     */
    TokenSecretDO queryTenantInfoByDomain();
    
    /**
     * addTenantAuthLog
     *
     * @param tokenAuthLogDO
     */
    void addTenantAuthLog(TokenAuthLogDO tokenAuthLogDO);
    
}
